package net.dfrz.control.page;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.dfrz.service.impl.HtBusinessService;

public class HtAdminManagerPage extends HttpServlet {
	private HtBusinessService bs = new HtBusinessService();
	public void doGet(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		request.setAttribute("smuser",bs.getAllSmUser());
		request.getRequestDispatcher("/WEB-INF/ht/adminmanager.jsp").forward(request, response);
	}

	public void doPost(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		doGet(request, response);
	}

}
